<template>
  <a-form
    :form="form"
    @submit.prevent="handleSearch"
    layout="inline"
  >
    <a-row :gutter="16">
      <a-col :span="7">
        <a-form-item label="权限群组">
          <a-input
            v-decorator="[
              'name',
            ]"
            placeholder="权限群组"
          />
        </a-form-item>
      </a-col>
      <a-col :span="6">
        <a-form-item>
          <a-button
            type="primary"
            style="margin-right: 30px"
            @click.prevent="handleSearch"
          >
            查询
          </a-button>
          <a-button @click.prevent="handleReset">重置</a-button>
        </a-form-item>
      </a-col>
    </a-row>
  </a-form>
</template>

<script>
import form from '@/utils/mixins/search/form'

export default {
  mixins: [form],
}
</script>
